package com.hnxxxy.workshop.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 零件
 * </p>
 *
 * @author zqh
 * @since 2022-05-09
 */
@Data
public class ComponentsPageRequest {

    /**
     * 当前页
     */
    @ApiModelProperty(value = "当前页",example = "1")
    private Integer page;

    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页显示多少条",example = "10")
    private Integer size;

    /**
     * 零件id
     */
    private Integer id;

    /**
     * 零件名称
     */
    private String name;

    /**
     * 仓库id
     */
    @JsonProperty("depot_id")
    private Integer depotId;

    /**
     * 重量
     */
    private BigDecimal weight;

    /**
     * 价格
     */
    private BigDecimal price;


}
